package com.sunni.controller;

import com.sunni.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/tag")
public class TagHandle {

    @RequestMapping("/tag")
    public ModelAndView getTag(ModelAndView modelAndView){
        modelAndView.addObject("user",new User(1,"wuwukai",null));
        modelAndView.setViewName("tag");
        return modelAndView;
    }
}
